from graph import *
windowSize (500,500)
penSize (2)
penColor (0,255,255)
brushColor (0,255,255)
x=int(input('x='))
y=int(input('y='))
n=int(input('n='))
if x>=500 and y>=500 and x+50>=500 and y+50>=500 and x+100>=500 and y+50>=500 and x+150>500 and y+100>500:
    print("Размер фигуры превышает макс. размер поля")
elif x<1 or y<1 or n==0:
    print("масштаб")
else:
    polygon([(x,y), (x+50*n,y), (x+50*n,y+50*n), (x+100*n,y+50*n), (x+100*n,y), (x+150*n,y), (x+150*n,y+100*n), (x,y+100*n), (x,y)])

run ()
